<template>

  <router-view />
  <div class="da">
    <!-- <div class="box">
      <div class="header">头部</div>
      <div class="meddle">内容</div>
    </div> -->
    <div class="footer">
      <van-tabbar v-model="active" route>
        <van-tabbar-item icon="home-o" to="/">标签</van-tabbar-item>
        <van-tabbar-item icon="search" to="/kind">标签</van-tabbar-item>
        <van-tabbar-item icon="friends-o" to="/shop">标签</van-tabbar-item>
        <van-tabbar-item icon="setting-o" to="/user">标签</van-tabbar-item>
      </van-tabbar>
    </div>
  </div>
</template>

<style lang="scss">
* {
  padding: 0;
  margin: 0;
  list-style: none;
}

html,
body,
#app
.da {
  width: 100%;
  height: 100%;
}

.da {
  flex-direction: column;
  display: flex;
}

.box {
  flex-direction: column;
  flex: 1;
 

}

.header {
  height: 3.125rem;
}

.footer {
  height: 3.125rem;
}
</style>
